<include file="DormChange:header" />
<body>
<div class="wraper nearby-branch-wrap">
    <div class="load">
        <img class="load-bee" src="./images/load-bee.png">
    </div>
	<div class="head clearfix">
		<a href="javascript:history.go(-1);" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">申请记录</span>
		<!-- <a href="{BEESCRM::U('/Base/DormChange/index',array('wechat_id'=>$wechat_id))}" class="iconfont icon-shouye pull-left text-right"></a> -->
	</div>
	<div class="tab clearfix">
		<a href="{BEESCRM::U('/Base/DormChange/appManagerOutList',array('wechat_id'=>$wechat_id))}" class="tab-list">调出申请</a>
		<a href="#" class="tab-list checked">调入申请</a>
	</div>
	<volist name="data" id="vo">
	<a href="{BEESCRM::U('/Base/DormChange/applicationDetail',array('log_id'=>$vo['log_id'],'wechat_id'=>$wechat_id))}" class="lists tb-mode">
		<div class="tb-cell">
			<p>申请人：{BEESCRM:$vo.username}</p>
			<p>状态：<if condition="$vo['status'] eq 0"><span class="status-orange">待审核
					<elseif condition="$vo['status'] eq 1" /><span class="status-red">调入审核失败
					<elseif condition="$vo['status'] eq 2" /><span class="status-green">调出审核通过
					<elseif condition="$vo['status'] eq 3" /><span class="status-red">调出管理员审核不通过
					<elseif condition="$vo['status'] eq 4" /><span class="status-red">调入审核失败
					<elseif condition="$vo['status'] eq 5" /><span class="status-green">调入审核通过
					<elseif condition="$vo['status'] eq 6" /><span class="status-red">调入审核不通过
					<elseif condition="$vo['status'] eq 7" /><span>已取消</if></span></p>
			<p>申请日期：{BEESCRM:$vo['create_time']|date="Y-m-d",###}</p>
			<p>申请从{BEESCRM:$vo['community_name']}{BEESCRM:$vo['building_name']}{BEESCRM:$vo['dorm_name']}调至{BEESCRM:$vo['to_community_name']}{BEESCRM:$vo['to_building_name']}{BEESCRM:$vo['to_dorm_name']}</p>
		</div>
		<div class="tb-cell text-right right">
			<p class="branch-detail iconfont">&#xe602;</p>
		</div>
	</a>
	</volist>
	<div class="bottom-box">
		<p class="copyright">杭州青橄榄网络技术有限公司 技术支持</p>
	</div>
</div>
<include file="DormChange:commonJs"/>
<script>
	var height = $(document).height();
	var bottombox_height = $('.bottom-box').outerHeight();
	$('.wraper').css("minHeight",height);
	$('.wraper').css("paddingBottom",bottombox_height);


	$(function(){
		var height = $(document).height();
		var height_head = $('.head').outerHeight();
		var contain_h = height - height_head;
		$('.logistics').css("minHeight",contain_h);
	});

	$(window).load(function(){
		$('.load').hide();
	});
</script>
</body>
</html>